<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<style>
* {
	margin: 0;
	padding: 0;
}

#wrapper {
	text-align: center;
	margin: 0 auto;
	width: 800px;
}

table {
	width: 100%;
	line-height: 21px;
	border-top: 1px solid #cccccc;
	border-left: 1px solid #cccccc;
	border-collapse: collapse;
}

table th,table td {
	color: #678197;
	text-align: center;
	border-right: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
	padding: 3px 0;
	text-align: left;
}

table th {
	background-color: #eeeeee;
}
</style>
<body>
	<div>
		<header>
		<h1>문서 편집</h1>
		</header>

		<div>
			<form action="noticeEditProcess.do" method="post">
				<input type="hidden" name="seq" value="${ notice.seq }" />
				<table>
					<tr>
						<th>제목</th>
						<td><input type="text" name="title" value="${ notice.title }" /></td>
					</tr>
					<tr>
						<th>날짜</th>
						<td>${ notice.regdate }</td>
					</tr>
					<tr>
						<th>작성자</th>
						<td>${ notice.writer }</td>
					</tr>
					<tr>
						<th>조회수</th>
						<td>${ notice.hitcount }</td>
					</tr>
					<tr>
						<th>첨부</th>
						<td><input type="file" name="filename" value="${ notice.filesrc }" /></td>
					</tr>
					<tr>
						<td colspan="2">
							<textarea cols="95" rows="20" name="content">${ notice.content }</textarea>
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<input type="submit" value="저장" /> &nbsp;
							<a href="notice.jsp">취소</a>
							<!-- <input type="image" src="../img.src" /> -->
						</td>
					</tr>
				</table>
			</form>
		</div>
	</div>
</body>
</html>